package com.yikome.order.entity;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "o_order", indexes = {@Index(columnList = "code")})
public class Order extends BaseEntity {

	private static final long serialVersionUID = 5535553915504212159L;

	private String code ; 
	
	private Integer payment ; 
	
	private BigDecimal price ; 
	
	private BigDecimal freight ;  
	
	private String remark ; 
	
	private Integer status ; 
	
	private String currency ; 
	
	private Boolean needAsync ; //是否需要同步
	
	private Boolean isAsync ;   //是否同步
	
}
